import request from "@/utils/request";
export function insertProject(data) {
  return request({
    url: "/tenant-project/insert",
    method: "post",
    data: data
  });
}
export function updateProject(data) {
  return request({
    url: "/tenant-project/update",
    method: "post",
    data: data
  });
}
export function deleteProject(data) {
  return request({
    url: "/tenant-project/delete",
    method: "post",
    data: data
  });
}
export function deletesProject(data) {
  return request({
    url: "/tenant-project/deletes",
    method: "post",
    data: data
  });
}
export function enableProject(data) {
  return request({
    url: "/tenant-project/enable",
    method: "post",
    data: data
  });
}
export function enablesProject(data) {
  return request({
    url: "/tenant-project/enables",
    method: "post",
    data: data
  });
}
export function disableProject(data) {
  return request({
    url: "/tenant-project/disable",
    method: "post",
    data: data
  });
}
export function disablesProject(data) {
  return request({
    url: "/tenant-project/disables",
    method: "post",
    data: data
  });
}
export function saveProject(data) {
  return request({
    url: "/tenant-project/save",
    method: "post",
    data: data
  });
}
export function getProject(params) {
  return request({
    url: "/tenant-project/get",
    method: "get",
    params: params
  });
}
export function viewProject(params) {
  return request({
    url: "/tenant-project/view",
    method: "get",
    params: params
  });
}
export function pageProject(params) {
  return request({
    url: "/tenant-project/page",
    method: "get",
    params: params
  });
}
export function searchProject(params) {
  return request({
    url: "/tenant-project/search",
    method: "get",
    params: params
  });
}
